package com.practice.service.impl;

import com.practice.mapper.LogMapper;
import com.practice.pojo.entity.Log;
import com.practice.service.LogService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * TODO your comment
 *
 * @author Masiyu
 * @date 2023/9/22 16:29
 */
@Service
@Slf4j
public class LogServiceImpl implements LogService {
    @Autowired
    LogMapper logMapper;
    @Override
    public void save(Log log) {
        logMapper.add(log);
    }
}
